import service.UserService;

import java.util.ArrayList;
import java.util.List;

/***
 * @Author 徐庶
 * @Slogan 致敬大师，致敬未来的你
 */
public class OOMDemo {

    public static List<Object> list = new ArrayList<>();

    // JVM设置
    // -Xms10M -Xmx10M  -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=D:\jvm.dump
    public static void main(String[] args) throws InterruptedException {
        System.out.println("开始运行...");
        UserService userService = new UserService();
        userService.getUsers();
    }


}
